<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>我的佣金</title>
<meta name ="viewport" content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
<link rel="stylesheet" href="/assets/css/mobile/commission.css"/>
<@extends name="/mobile/project/topbar.ftl"/>
<div class="wrap-page">
    <div class="amount">
        <div class="amo">
            <span>${totalCommission}</span>
            <img src="/assets/img/mobileImg/commission/ms.png" alt="" class="ms-img">
        </div>
        <p class="total">总佣金(元)</p>
        <p class="ms">说明：用户名前的1、2标识表示是您的第几级下线</p>
    </div>
    <div class="commission-item">

    </div>
</div>
<script src="/assets/script/jquery-1.8.2.min.js"></script>
<script src="https://cdn.bootcss.com/handlebars.js/4.0.11/handlebars.js"></script>
<script type="text/template" id="myTemplate">
    {{#each data.collection}}
<div class="com-item-top">
    <div class="offline">
        <img src="/assets/img/mobileImg/commission/${level}.png" alt="">
    </div>
    <p class="username">12674723487</p>
</div>
<div class="com-item-bottom">
    <p class="com">
        <span>认筹金额：</span>
        <em>{{commission}}元</em>
    </p>
    <p class="com">
        <span>认筹时间：</span>
        <em>{{createdDate}}</em>
    </p>
    <p class="com">
        <span>预计收益：</span>
        <em>元</em>
    </p>
</div>
    {{/each}}
</script>
<script src="/assets/script/mobile/commission.js"></script>
